//    Copyright (C) Kherty.  All rights reserved.
using System.Windows.Media;

namespace OpenLS.Drawing
{
    internal class SaturationModulationTransform : PercentTransform
    {
        protected override string XmlName
        {
            get { return "satMod"; }
        }

        public override Color Apply(Color c)
        {
            HslColor cc = c;
            cc.S *= Ratio;
            return cc;
        }
    }
}